package com.lottery.material.dao.transaction;

import com.lottery.material.pojo.transaction.TransactionTypeDict;
import com.lottery.material.vo.portal.transaction.TransactionTypeVo;

import java.util.List;

/**
 * @description 交易类型字典Mapper
 * @author rambo
 * @date 2019年4月11日 下午9:30:12
 */
@SuppressWarnings("JavaDoc")
public interface TransactionTypeDictMapper {
	
    Integer deleteByPrimaryKey(Integer id);

    Integer insert(TransactionTypeDict record);

    Integer insertSelective(TransactionTypeDict record);

    TransactionTypeDict selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(TransactionTypeDict record);

    Integer updateByPrimaryKey(TransactionTypeDict record);

    /**
     * description: 根据交易类型编号查询交易类型名称
     * author sunny
     * createDate 2019-04-18 上午 10:48
     * @param transactionTypeCode
     * @return
     */
    String findByTransactionTypeCode(String transactionTypeCode);

    List<TransactionTypeVo> findAllTransactionTypeVo();
}
